<?php

function system_log($title)
{
    $my = bone::get_admin();
    $table = bone::get_admin_table('system', 'log');
    $table->user_id = $my->id;
    $table->title = $title;
    $table->ip = $_SERVER['REMOTE_ADDR'];
    $table->time = time();
    $table->save();
}
?>